package com.woniuxy.dao;

import com.woniuxy.entity.Role;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Description: TODO(用一句话描述这个类的作用)
 * @Author 18452
 * @Date 2021/4/27 13:19
 */
@Mapper
public interface RoleDao {
    List<Role> select(Role role);
    List<Role> selectAll();
    int insert(Role role);
    int update(Role role);
    int delete(int id);
}
